from sqlalchemy import Column, String, DateTime, JSON

from common.database import BaseTable


class ResourceHistoryData(BaseTable):
    __tablename__ = "resource_history_data"
    resource_id = Column(String(64), comment="设备id")
    data = Column(JSON, comment="数据")
    data_time = Column(DateTime, comment="数据时间")
